import request from '@/utils/request'

// 查询数据属性位置列表
export function selectProperties(query) {
  return request({
    url: '/conf/BiPropertyLocation/selectProperties',
    method: 'get',
    params: query
  })
}
// 查询数据属性位置列表
export function updatePropertyStatus(query) {
  return request({
    url: '/conf/BiPropertyLocation/updatePropertyStatus',
    method: 'put',
    params: query
  })
}
// 查询数据属性位置列表
export function listBiPropertyLocation(query) {
  return request({
    url: '/conf/BiPropertyLocation/list',
    method: 'get',
    params: query
  })
}
// 查询数据属性位置详细
export function getBiPropertyLocation(id) {
  return request({
    url: '/conf/BiPropertyLocation/' + id,
    method: 'get'
  })
}

// 新增数据属性位置
export function addBiPropertyLocation(data) {
  return request({
    url: '/conf/BiPropertyLocation',
    method: 'post',
    data: data
  })
}

// 修改数据属性位置
export function updateBiPropertyLocation(data) {
  return request({
    url: '/conf/BiPropertyLocation',
    method: 'put',
    data: data
  })
}

// 删除数据属性位置
export function delBiPropertyLocation(id) {
  return request({
    url: '/conf/BiPropertyLocation/' + id,
    method: 'delete'
  })
}
